import Watcher from '../watcher.js'

/*
 * @Author: zengwj
 * @Date: 2022-08-11 17:32:50
 * @LastEditors: zengwj
 * @LastEditTime: 2022-08-12 14:02:26
 * @Description:
 */
export default function mountComponent(vm) {
	const updateComponent = () => {
		vm._update(vm._render())
	}
	new Watcher(updateComponent)
}
